var url = require('url')
;
exports.rule={
	ruleA:function($){
		var _aList = []
			,_url = $('a.next').attr('href')
			,_links = $('.m-postlst a.img')
			//,_url = $('.next a').attr('href')
			//,_links = $('.img a')
		;
		_links.each(function(i,n){
			_aList.push(n.attribs.href);
		});

		return {
			aList:_aList
			,nextUrl:_url
		};
	}
	,ruleImg:function($){
		var _list = []
			,_imgs= $('a.imgclasstag img')
		;

		_imgs.each(function(i,n){
			var _src = n.attribs.src; //n.attribs.src.replace('.84.125.jpg','');
			_list.push(_src);
		});

		return _list;
	}
};
exports.url='http://sexy.faceks.com/'//http://sonic00821.lofter.com/tag/%E6%80%A7%E6%84%9F   http://sexy.faceks.com/
exports.encoding = 'utf8';